﻿<UserControl x:Class="CivilleWP7.Views.Controls.TaskDetailControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="960" d:DesignWidth="480" Loaded="UserControl_Loaded" xmlns:my="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="15*"/>
            <RowDefinition Height="25*"/>
            <RowDefinition Height="10*"/>
            <RowDefinition Height="50*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="70*"/>
            <ColumnDefinition Width="30*"/>
        </Grid.ColumnDefinitions>
        <TextBlock Name="nameTxt" Text="Name" Grid.Column="0" Grid.Row="0"/>
        <Image Name="tileImg" Source="/CivilleWP7;component/Resources/Images/coffee.png" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
        <TextBlock Name="descrTxt" Text="Description" Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2"/>
        <TextBlock Name="pointsTxt" Text="1000" Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2"/>
        <my:Map Grid.ColumnSpan="2" Grid.Row="3"  HorizontalAlignment="Stretch" Name="map1" VerticalAlignment="Stretch" CredentialsProvider="AsRwIhEEnjkZ4AjPHctyFpERUQxqSNItZqt1k6GBuz8HH0IUmLjhtB4BHM5wmYPB"/>
    </Grid>
</UserControl>
